package com.mouliu.generate1;

import com.lmax.disruptor.EventHandler;
import com.mouliu.generate.Trade;

/**
 * @author mouliu
 * @create 2018-05-28-下午9:51
 */
public class Handler3 implements EventHandler<Trade> {
    @Override
    public void onEvent(Trade trade, long l, boolean b) throws Exception {
        System.out.println("handlerr name:"+trade.getName()+",price"+trade.getPrice()+"; instance"+trade.toString());
    }
}
